<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
     <style>
        /* .father .one {
            font-family:'宋体' ;
            font-size: 30px;
            font-weight: 700;/*设置粗细*/
            /* font-style: italic; 
            color: blue;
            /* text-align: left; */
            /* text-decoration: underline; */
            /* text-indent: 2em; 
        } */
        /* .father .two {
            font-family:'宋体' ;
            font-size: 30px;
            font-weight: 700;/*设置粗细*/
            /* font-style: italic; 
            color: rgb(34, 255, 0);
            /* text-align: center; 
            text-decoration: overline;
        }
         .father .three {
            font-family:'宋体' ;
            font-size: 30px;
            font-weight: 700;/*设置粗细*/
            /* font-style: italic; 
            color: rgb(255, 0, 0);
            /* text-align: right; 
            text-decoration: line-through;
        }*/ 
        .father .one{
            height: 100px;
            line-height: 100px;
        }
    </style>
</head>
<body >
    <!-- <p class="one">设置字体</p> -->
    <!-- <p class="two">设置字体</p>
    <p class="three">设置字体</p> -->
    <div class="father">
        <div class="one">
            文本垂直中
        </div>
    </div>
</body>
</html>